package com.itheima.dao;

import com.github.pagehelper.Page;

import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface OrderListDao {
    //分页查询
    public Page<Map> selectByCondition(@Param("startDate") String startDate, @Param("endDate") String endDate, @Param("selectStatus") String selectStatus, @Param("selectType") String selectType, @Param("queryString") String queryString);
    //根据id查询预约信息
    public Order findById(Integer id);
    //修改预约状态
    public void changeStatus(Map map);

    public void delete(Integer id);

}
